package routers

import (
	"github.com/astaxie/beego"
	"go-cms/controllers"
)

func init() {
	// home
    beego.Router("/", &controllers.MenuController{},"Get:Index")

    //menu
    beego.Router("menu/list",&controllers.MenuController{},"*:List")
    beego.Router("menu/edit",&controllers.MenuController{},"*:Edit")
    beego.Router("menu/editdo",&controllers.MenuController{},"*:EditDo")
}
